//ClassAdapterClient.java
package adapter.classadapter;

/**
 *@author:youtubezou
 *@version:2012-7-16
 */
public class ClassAdapterClient {
	public static void main(String[] args) {
		//Type mismatch: cannot convert from Apple to Product
		//Product product = new Apple("Tony", 12.4); 
		Product product = new AppleAdapter("Tony", 12.4);
		System.out.println(product);
	}
}
